home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************
- * STACK2.C - demonstration of the code generated by Turbo C *
- * for calling a function *
- * *
- * To compile: "tcc -S stack2" *
- ****************************************************************/
- void CalledFunction(int a, char b, char *c)
- {
- int i;
- long k;
-
- i=3;
- k=102591; /* use the local variables */
- i = b; /* access an argument */
- }
-
- void main(void)
- {
- CalledFunction(4,'c',"abcdef");
- }